
<p th:if="${myList!=null}">Pet Favorites <br />Shop for more of your favorite pets here.${sessionScope.myList}</p>
<ul th:if="${myList!=null}">
    <li th:each="product:${myList}">
        <a href="productForm?productId=${product.productId}">${product.name}</a>
        (${product.productId})
    </li>
</ul>

